From: Alex Williamson Date: Mon, 1 Oct 2007 15:53:48 +0000 (-0600) Subject: [IA64] xenctx: fix rse arithmetic X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14940 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=e26fbf7c55cc1d14313144d666bb50d662099df0;p=xen.git [IA64] xenctx: fix rse arithmetic Signed-off-by: Isaku Yamahata --- diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index 274da0b41b..912bcdf937 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -489,7 +489,7 @@ void print_ctx(vcpu_guest_context_t *ctx) for (i = 0; i < cfm_sof; i++) { int off = cfm_sof - i; unsigned int rbs_off = - (((62 - ((rbs_size + regs->rbs_voff) % 64) + off)) / 63) + off; + (((62 - ((rbs_size + regs->rbs_voff) % 63) + off)) / 63) + off; if (rbs_off > rbs_size) break; printf(" r%02d: %016lx%s", 32 + i,